package com.hnl.dao;

import java.util.Collection;

import com.hnl.to.Talent;
import com.hnl.to.wrapper.TalentCollectionPageWrapper;

public interface TalentDAO {

	public Talent saveTalent(Talent talent);

	public Collection<Talent> loadAllTalent();

	public TalentCollectionPageWrapper loadTalentByPageQuery(String query);

	public Collection<Talent> loadAllTalentLikeTerm(String term);

	public Collection<Talent> loadTalentByUserId(Integer uid);

	public Talent loadTalent(Integer talentId);

	public void updateTalent(Talent talent);

	public void deleteTalent(Integer talentId);

}
